﻿body {
    padding-top: 60px;
    padding-bottom: 40px;
    background: #f5f5f5;
    font-family: "Segoe UI", Tahoma, Helvetica, Sans-Serif;
}

.preview img {
    max-width: 80px;
    max-height: 80px;
}

.inline {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.box {
    display: inline-block;
    vertical-align: top;
    padding: 10px;
    margin: 10px;
    border-left: 1px solid #ddd;
}

    .box:after {
        position: relative;
        top: 0;
        left: 0;
    }

#review {
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    font-size: 1.15em;
    line-height: 150%;
    margin-left: 25px;
}

    #review > p > img.review-image {
        max-height: 350px;
        max-width: 350px;
        margin: 10px !important;
        float: right !important;
    }

    #review > p > img {
        margin-top: 15px;
        margin-bottom: 15px;
        max-width: 100%;
        max-height: 600px;
        border: 1px solid #eaeaea;
        display: block;
    }

    #review > p > iframe {
        max-width: 100%;
    }

.review-relative-link {
    text-decoration: none !important;
}

.review-relative-block {
    margin: 10px;
    width: 156px;
    height: 156px;
    border-radius: 50%;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

    .review-relative-block:hover {
        -moz-box-shadow: 0 0 5px #0088cc;
        -webkit-box-shadow: 0 0 5px #0088cc;
        box-shadow: 0 0 5px #0088cc;
        -webkit-filter: grayscale(0);
        filter: grayscale(0);
    }

p > iframe {
    margin: 10px;
}

.pale {
    color: #cdcdcd;
    font-weight: normal !important;
}

.header {
    color: #6d6d6d;
    font-weight: normal !important;
}

.inline-block {
    display: inline-block;
    position: relative;
    margin: 10px;
}

.inline-block-main {
    display: inline-block;
    position: relative;
    margin: 10px;
}

.inline-block:hover::after {
    content: attr(data-title);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px; /* Положение подсказки */
    z-index: 1; /* Отображаем подсказку поверх других элементов */
    background: #222028;
    background: rgba(34,32,40,0.7);
    color: #fff;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    font-size: 1.15em; /* Размер текста подсказки */
    line-height: 150%;
    padding: 5px 10px; /* Поля */
    border: 0 solid #ddd; /* Параметры рамки */
}

.inline-block-main:hover::after {
    content: attr(data-title);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px; /* Положение подсказки */
    z-index: 1; /* Отображаем подсказку поверх других элементов */
    background: #222028;
    background: rgba(34,32,40,0.7);
    color: #fff;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    font-size: 1.15em; /* Размер текста подсказки */
    line-height: 150%;
    padding: 5px 10px; /* Поля */
    border: 0 solid #ddd; /* Параметры рамки */
}

.block-size {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #ddd;
}

.block-size-main {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #ddd;
}

.review-block {
    display: block;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

    .review-block:hover {
        display: block;
        -webkit-filter: grayscale(0);
        filter: grayscale(0);
    }

.gray {
    background-color: #ddd;
}

.mini-image {
    width: 200px;
    margin: 0 10px 0 10px;
}

.photo-container {
    display: block;
    width: 960px;
    margin: 0 auto;
}

.main-photo {
    position: relative;
    display: inline-block;
    padding: 0;
    width: 450px;
    height: 310px;
    vertical-align: middle;
    overflow: hidden;
    float: left;
}

.mini-photo img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.main-photo:hover::after {
    content: attr(data-title); /* Выводим текст */
    position: absolute; /* Абсолютное позиционирование */
    left: 0;
    right: 0;
    bottom: 5px; /* Положение подсказки */
    z-index: 1; /* Отображаем подсказку поверх других элементов */
    background: #222028;
    background: rgba(34,32,40,0.7); /* Полупрозрачный цвет фона */
    color: #fff; /* Цвет текста */
    text-align: center; /* Выравнивание текста по центру */
    font-family: Georgia, 'Times New Roman', Times, serif !important; /* Гарнитура шрифта */
    font-size: 1.15em; /* Размер текста подсказки */
    line-height: 150%;
    padding: 5px 10px; /* Поля */
    border: 0 solid #ddd; /* Параметры рамки */
}

.ect-photos {
    padding: 0;
    vertical-align: top;
    display: inline-block;
    width: 450px;
    height: 320px;
    margin-top: 5px;
}

.mini-photo {
    overflow: hidden;
    width: 140px;
    height: 93px;
    margin: 5px;
    float: left;
    background-color: #fff;
    position: relative;
}

.album-photo {
    position: relative;
    display: block;
    max-height: 350px;
    margin-top: 10px;
}

.album-mini-photo {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 300px;
    height: 200px;
    margin: 5px;
}

    .album-mini-photo img {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

.carousel-photo {
    width: 100%;
    max-height: 780px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    overflow-y: hidden;
}

    .carousel-photo:hover {
        -webkit-filter: grayscale(0);
        filter: grayscale(0);
    }

.offer-div {
    margin: 15px;
    width: 400px;
}

.list-offer-div {
    font-family: "Segoe UI", Tahoma, Helvetica, Sans-Serif;
    font-size: 1.15em;
    line-height: 150%;
    height: 50px;
    background-color: #f4f4f4;
    padding: 10px;
    margin-top: 10px;
    border: 1px #ddd solid;
}

    .list-offer-div:hover {
        opacity: 0.6;
        filter: alpha(opacity=60);
    }

.head-album {
    font-size: 1.6em;
    color: #d2d2d2;
}

.social_share {
    margin: 10px;
    font-size: 45px;
    cursor: pointer;
}

    .social_share:hover {
        position: relative;
        cursor: pointer;
        -moz-transition: 0.5s ease-in;
        -o-transition: 0.5s ease-in;
        -webkit-transition: 0.5s ease-in;
        transition: 0.5s ease-in;
        top: -1px;
    }

.social_share-mini {
    margin: 10px;
    font-size: 30px;
    cursor: pointer;
}

.info-text {
    margin-left: 2px;
    color: #e1e1e1;
    font-size: 0.5em;
}

    .info-text:hover {
        color: #666;
        font-size: 0.5em;
    }

@media (max-width: 1200px) {
    .block-size-main {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: #ddd;
    }
}

@media (max-width: 979px) {
    .mini-photo {
        display: none;
    }

    .review-relative-block {
        border-radius: 50%;
        width: 66px;
        height: 66px;
        margin: 10px;
    }

    #review > p > img {
        margin-top: 15px;
        margin-bottom: 15px;
        max-width: 100%;
        height: auto !important;
        border: 1px solid #eaeaea;
        display: block;
    }

    #albumList {
        margin-left: 50px;
    }

    .block-size-main {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: #ddd;
    }
}

@media (max-width: 750px) {
    .block-size-main {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: #ddd;
    }
}

@media (max-width: 400px) {
    #review {
        margin-left: 0;
    }

        #review > p > img.review-image {
            max-width: 100%;
            margin: 10px !important;
            display: block;
        }

    div#topvk {
        display: none !important;
    }

    .block-size-main {
        width: 65px;
        height: 65px;
        border-radius: 50%;
        background: #ddd;
    }
}
